package com.itc.dispatch.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itc.common.core.domain.R;
import com.itc.dispatch.domain.SysAlarmType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itc.dispatch.domain.dto.SysAlarmTypePageDto;
import com.itc.dispatch.domain.vo.SysAlarmTypeVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
* @author 智少
* @description 针对表【sys_alarm_type】的数据库操作Service
* @createDate 2024-07-24 14:49:45
*/
public interface SysAlarmTypeService extends IService<SysAlarmType> {

    R updateOne(SysAlarmType alarmTypeOne);

    R<List<SysAlarmType>> getList(@RequestBody SysAlarmType sysAlarmType);

    R add(SysAlarmType sysAlarmType);

    R delete(Long id);

    R<Page<SysAlarmType>>  getPage(Page page, SysAlarmTypePageDto pageDto);
}
